<?php

return [
    // 标签定义： attr 属性列表 close 是否闭合（0 或者1 默认1） alias 标签别名 level 嵌套层次
    // 内容
    'contents' => ['attr'=>'cid,field,sort,limit,asPage,isTop,isCommend','close'=>1],
    'tagcontent'   => ['attr'=>'id,field,limit'],
    // 栏目
    'subcategories'    => ['attr' => 'pid', 'close' => 1],//非必须属性item
    'allsubcategories' => ['attr' => 'pid', 'close' => 1],//非必须属性item
    'categories'       => ['attr' => 'ids,where,order', 'close' => 1],//非必须属性item
    'category'         => ['attr' => 'id','close' => 1],//非必须属性item
    // 导航
    'subnav'   => ['attr'=>'pid,item','close'=>1],
    'nav'   => ['attr'=>'cid,item','close'=>1],

    // 友情链接
    'link'  => ['attr'=>'item','close'=>1],
];